package day04;

import java.util.Scanner;

public class CommandBySwitch {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请选择要办理的业务：1：查询余额 2：存款 3：取款4：退卡");
        int command = scanner.nextInt();
        switch (command){
            case 1:
                System.out.println("余额查询中。。。。");
                break;
            case 2:
                System.out.println("存款中。。。。。");
                break;
            case 3:
                System.out.println("取款中。。。。。");
                break;
            case 4:
                System.out.println("退卡中。。。。");
                break;
            default:
                System.out.println("无此功能。。。");
        }

    }
}
